<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>小米商城</title>
    <!-- 引入主页样式表 -->
    <link rel="stylesheet" href="./css/index.css">
    <!-- 引入公共样式表 -->
    <link rel="stylesheet" href="./css/base.css">
    <!-- 引入重置样式表 -->
    <link rel="stylesheet" href="./css/reset.css">
    <!-- 引入图标字体库 -->
    <link rel="stylesheet" href="./fa/css/all.css">
    <!-- 设置网站的图标 -->
    <link rel="icon" href="./img/favicon.ico">
</head>

<body style="height: 2000px;">
    <!-- 顶部导航条 -->
    <!-- 顶部导航条外部容器 -->
    <div class="topnav-wrapper ">
        <!-- 顶部内容容器 -->
        <div class="topnav w clearfix">
            <!-- 左侧导航条 -->
            <ul class="top-service">
                <li>
                    <a href="javascript:;">小米商城</a>
                </li>
                <li class="line">|</li>
                <li>
                    <a href="javascript:;">MIUI</a>
                </li>
                <li class="line">|</li>
                <li>
                    <a href="javascript:;">IoT</a>
                </li>
                <li class="line">|</li>
                <li>
                    <a href="javascript:;">云服务</a>
                </li>
                <li class="line">|</li>

                <li>
                    <a href="javascript:;">有品</a>
                </li>
                <li class="line">|</li>
                <li>
                    <a href="javascript:;">小爱开发平台</a>
                </li>
                <li class="line">|</li>
                <li>
                    <a href="javascript:;">企业团购</a>
                </li>
                <li class="line">|</li>
                <li>
                    <a href="javascript:;">资质证照</a>
                </li>
                <li class="line">|</li>
                <li>
                    <a href="javascript:;">协议规则</a>
                </li>
                <li class="line">|</li>
                <li class="app-wrapper">
                    <a class="app" href="javascript:;">下载app
                        <!-- 弹出二维码 -->
                        <div class="qrcode">
                            <img src="./img/qrcode.png" alt="">
                            <span>小米商城APP</span>
                        </div>
                    </a>
                </li>
                <li class="line">|</li>
                <li>
                    <a href="javascript:;">智能生活</a>
                </li>
                <li class="line">|</li>
                <li>
                    <a href="javascript:;">Select Location</a>
                </li>

            </ul>
            <!-- 购物车 -->
            <ul class="shop-cart">
                <li>
                    <a href="javascript:;">
                        <i class="fas fa-shopping-cart"></i> 购物车(0)
                    </a>
                    <div class="shop-cartinfo">
                        <span>购物车中还没有商品，赶紧选购吧！</span>
                    </div>
                </li>

            </ul>

            <!-- 用户信息 -->
            <ul class="user-info">
                <li>
                    <a href="javascript:;">登录</a>
                </li>
                <li class="line">|</li>
                <li>
                    <a href="javascript:;">注册</a>
                </li>
                <li class="line">|</li>
                <li>
                    <a href="javascript:;">消息通知</a>
                </li>

            </ul>

        </div>
    </div>
    <!-- 顶部头部的外部容器 -->
    <div class="header-wrapper">
        <!-- 头部导航区 -->
        <div class="header-nav w clearfix">
            <!-- 左侧logo区 -->
            <h1 class="logo" title="小米">
                <a class="home" href="/"></a>
                <a class="mi" href="/"></a>
            </h1>
            <!-- 中间导航区 -->
            <div class="middle-nav">
                <ul class="nav">
                    <li class="allgoods-list"><a class="allgoods" href="#">全部商品分类</a>
                        <!-- 左导航栏 -->
                        <ul class="left-menu">
                            <li>
                                <a href="#">手机 电话卡
                                    <i class="fas fa-angle-right"></i>
                                </a>
                            </li>
                            <li>
                                <a href="#">电视 盒子
                                    <i class="fas fa-angle-right"></i>
                                </a>
                            </li>
                            <li>
                                <a href="#">笔记本 显示器
                                    <i class="fas fa-angle-right"></i>
                                </a>
                            </li>
                            <li>
                                <a href="#">家电 插线板
                                    <i class="fas fa-angle-right"></i>
                                </a>
                            </li>
                            <li>
                                <a href="#">出行 穿戴
                                    <i class="fas fa-angle-right"></i>
                                </a>
                            </li>
                            <li>
                                <a href="#">智能 路由器
                                    <i class="fas fa-angle-right"></i>
                                </a>
                            </li>
                            <li>
                                <a href="#">电源 配件
                                    <i class="fas fa-angle-right"></i>
                                </a>
                            </li>
                            <li>
                                <a href="#">健康 儿童
                                    <i class="fas fa-angle-right"></i>
                                </a>
                            </li>
                            <li>
                                <a href="#">耳机 音箱
                                    <i class="fas fa-angle-right"></i>
                                </a>
                            </li>
                            <li>
                                <a href="#">生活 箱包
                                    <i class="fas fa-angle-right"></i>
                                </a>
                            </li>
                        </ul>
                    </li>


                    <li class="showgoods"><a href="#">小米手机</a></li>
                    <li class="showgoods"><a href="#">Redmi 红米</a></li>
                    <li class="showgoods"><a href="#">电视</a></li>
                    <li class="showgoods"><a href="#">笔记本</a></li>
                    <li class="showgoods"><a href="#">家电</a></li>
                    <li class="showgoods"><a href="#">路由器</a></li>
                    <li class="showgoods"><a href="#">智能硬件</a></li>
                    <li><a href="#">服务</a></li>
                    <li><a href="#">社区</a></li>
                    <!-- 下拉框商品信息 -->
                    <div class="goods-info"></div>

                </ul>
            </div>
            <!-- 右边搜索框 -->
            <div class="search-wrapper">
                <form action="#" class="search">
                    <input type="text" class="search-inp">
                    <!-- 下拉搜索框 -->
                    <div class="search-text"></div>
                    <button class="search-btn"><i class="fas fa-search"></i></button>

                </form>
            </div>
        </div>
    </div>
    <div class="banner-wrapper w">
        <div class="banner">
            <ul class="img-list">
                <li><a href="javascript:;"><img src="./img/banner3.png" alt=""></a></li>
                <li><a href="javascript:;"><img src="./img/banner4.png" alt=""></a></li>
                <li><a href="javascript:;"><img src="./img/banner2.png" alt=""></a></li>
                <li><a href="javascript:;"><img src="./img/banner1.png" alt=""></a></li>
            </ul>
            <div class="marks">
                <a class="active" href="javascript:;"></a>
                <a href="javascript:;"></a>
                <a href="javascript:;"></a>
                <a href="javascript:;"></a>
            </div>
            <div class="arrows">
                <a class="first" href="javascript:;"></a>
                <a class="next" href="javascript:;"></a>
            </div>
        </div>
    </div>
    <!-- 回到顶部工具条 -->
    <div class="to-top"></div>

    <!-- 创建广告容器 -->
    <div class="ad w">
        <ul class="shortcard">
            <li>
                <a href="#"><i class="fas fa-clock"></i>小米秒杀</a>
            </li>
            <li>
                <a href="#"><i class="fas fa-building"></i>企业团购</a>
            </li>
            <li>
                <a href="#"><i class="fas fa-frog"></i>F码通道</a>
            </li>
            <li>
                <a href="#"><i class="fas fa-robot"></i>米粉卡</a>
            </li>
            <li>
                <a href="#"><i class="fas fa-star"></i>以旧换新</a>
            </li>
            <li>
                <a href="#"><i class="fas fa-coffee"></i>话费充值</a>
            </li>
        </ul>
        <ul class="ad-img">
            <li><a href="#"><img src="./img/card1.jpg" alt=""></a></li>
            <li><a href="#"><img src="./img/card2.jpg" alt=""></a></li>
            <li><a href="#"><img src="./img/card3.png" alt=""></a></li>
        </ul>
    </div>
</body>

</html>